﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TicketMaster.Object;

namespace TicketMaster.Web.Models
{
    public class Route
    {
        public int Id { get; set; }

        public string StartPointId { get; set; }

        public virtual City StartPoint { get; set; }

        public string EndPointId { get; set; }

        public virtual City EndPoint { get; set; }

        public double Rate { get; set; }

        public double Distance { get; set; }

        public virtual ICollection<Comment> Comments { get; set; }

        public virtual ICollection<Merchant> Merchants { get; set; }
    }
}